foo.getId().equals( bar.getId() )